import time

def sing():
	i = 0
	while True:
		yield "唱歌" + str(i)
		i += 1
		time.sleep(0.1)


def dance():
	j = 0
	while True:
		yield "跳舞" + str(j)
		j += 1
		time.sleep(0.1)



# for x in range(1,10):
# 	t1 = next(sing())
# 	t2 = next(dance())
# 	print(t1)
# 	print(t2)

# for i in sing():
# 	print(i)

# while True:
# 	print(next(sing()))
# 	print(next(dance()))

s = sing()

print(next(s))
print(next(s))